﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SeguroSoft.Model.Model.Usuario>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ModificarUsuario
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ModificarUsuario</h2>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
             <div class="editor-label">
                <%: Html.Label("Nombre de Usuario") %>
            </div>
            <div class="editor-field">
                <%= Html.Label(Model.Usuario1) %>
                <%= Html.ValidationMessageFor(model => model.Usuario1) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Nombre) %>
            </div>
            <div class="editor-field">
                <%= Html.Label(Model.Nombre) %>
                <%= Html.ValidationMessageFor(model => model.Nombre) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Apellido) %>
            </div>
            <div class="editor-field">
                <%= Html.Label(Model.Apellido) %>
                <%= Html.ValidationMessageFor(model => model.Apellido) %>
            </div>
            
            <div class="editor-label">
                <%= Html.Label("Correo Electronico")%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Correo) %>
                <%= Html.ValidationMessageFor(model => model.Correo) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Clave) %>
            </div>
            <div class="editor-field">
                <%= Html.PasswordFor(model => model.Clave) %>
                <%= Html.ValidationMessageFor(model => model.Clave) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Direccion) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Direccion) %>
                <%= Html.ValidationMessageFor(model => model.Direccion) %>
            </div>
            
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>

    <% } %>


</asp:Content>

